package showBooks.service;

public class Information {
    //图书id
    private int id;
    //书名
    private String bookName;
    //作者
    private String author;
    //种类
    private String kind;
    //图片
    private String src;
    //现存数量
    private String current_number;
    //总数
    private String all_number;
    //位置
    private String position;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getKind() {
        return kind;
    }

    public void setKind(String kind) {
        this.kind = kind;
    }

    public String getSrc() {
        return src;
    }

    public void setSrc(String src) {
        this.src = src;
    }

    public String getCurrent_number() {
        return current_number;
    }

    public void setCurrent_number(String current_number) {
        this.current_number = current_number;
    }

    public String getAll_number() {
        return all_number;
    }

    public void setAll_number(String all_number) {
        this.all_number = all_number;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    @Override
    public String toString() {
        return "information{" +
                "id=" + id +
                ", bookName='" + bookName + '\'' +
                ", author='" + author + '\'' +
                ", kind='" + kind + '\'' +
                ", src='" + src + '\'' +
                ", current_number='" + current_number + '\'' +
                ", all_number='" + all_number + '\'' +
                ", position='" + position + '\'' +
                '}';
    }
}
